<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>axiethernet: XAvb_PtpStruct Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">axiethernet
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_avb___ptp_struct.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XAvb_PtpStruct Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This typedef defines the format for a data structure which stores information relating to the 1588 based PTP timing calculations.  
 <a href="struct_x_avb___ptp_struct.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a0fec4235a69761ed87eb29790cd8a7d2"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a0fec4235a69761ed87eb29790cd8a7d2">Nanosec</a></td></tr>
<tr class="memdesc:a0fec4235a69761ed87eb29790cd8a7d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">ns value for sync frame tx request  <a href="#a0fec4235a69761ed87eb29790cd8a7d2">More...</a><br/></td></tr>
<tr class="separator:a0fec4235a69761ed87eb29790cd8a7d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6c2a017ae8f7df3d77654ffbb8a9955"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#ad6c2a017ae8f7df3d77654ffbb8a9955">SlaveSyncTimestamp</a></td></tr>
<tr class="memdesc:ad6c2a017ae8f7df3d77654ffbb8a9955"><td class="mdescLeft">&#160;</td><td class="mdescRight">The timestamp taken of a rx'd sync.  <a href="#ad6c2a017ae8f7df3d77654ffbb8a9955">More...</a><br/></td></tr>
<tr class="separator:ad6c2a017ae8f7df3d77654ffbb8a9955"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ccce78c48aeb38e81ccfe20f4fcbf14"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a9ccce78c48aeb38e81ccfe20f4fcbf14">MasterCorrectionField</a></td></tr>
<tr class="memdesc:a9ccce78c48aeb38e81ccfe20f4fcbf14"><td class="mdescLeft">&#160;</td><td class="mdescRight">Correction Field from rx'd follow-up.  <a href="#a9ccce78c48aeb38e81ccfe20f4fcbf14">More...</a><br/></td></tr>
<tr class="separator:a9ccce78c48aeb38e81ccfe20f4fcbf14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3452c4beb43254ece9773c99e03e629f"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a3452c4beb43254ece9773c99e03e629f">PDelayTimestampT1</a></td></tr>
<tr class="memdesc:a3452c4beb43254ece9773c99e03e629f"><td class="mdescLeft">&#160;</td><td class="mdescRight">T1 :PDelayReq Frame transmission.  <a href="#a3452c4beb43254ece9773c99e03e629f">More...</a><br/></td></tr>
<tr class="separator:a3452c4beb43254ece9773c99e03e629f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a031c19b7b7227814202cc7472fc0269a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a031c19b7b7227814202cc7472fc0269a">PDelayTimestampT2</a></td></tr>
<tr class="memdesc:a031c19b7b7227814202cc7472fc0269a"><td class="mdescLeft">&#160;</td><td class="mdescRight">T2 :PDelayReq rx'd at link partner.  <a href="#a031c19b7b7227814202cc7472fc0269a">More...</a><br/></td></tr>
<tr class="separator:a031c19b7b7227814202cc7472fc0269a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3cbb26037696645f50c29addc3f6da46"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a3cbb26037696645f50c29addc3f6da46">PDelayTimestampT3</a></td></tr>
<tr class="memdesc:a3cbb26037696645f50c29addc3f6da46"><td class="mdescLeft">&#160;</td><td class="mdescRight">T3 :PDelayResp Frame reception.  <a href="#a3cbb26037696645f50c29addc3f6da46">More...</a><br/></td></tr>
<tr class="separator:a3cbb26037696645f50c29addc3f6da46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4a5d5d897b354ab5bae245a08459c27"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#ad4a5d5d897b354ab5bae245a08459c27">PDelayTimestampT4</a></td></tr>
<tr class="memdesc:ad4a5d5d897b354ab5bae245a08459c27"><td class="mdescLeft">&#160;</td><td class="mdescRight">T4 :PDelayResp tx'd by link partner.  <a href="#ad4a5d5d897b354ab5bae245a08459c27">More...</a><br/></td></tr>
<tr class="separator:ad4a5d5d897b354ab5bae245a08459c27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac88180ae256193d6ab58d964da0a15b8"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#ac88180ae256193d6ab58d964da0a15b8">LinkDelay</a></td></tr>
<tr class="memdesc:ac88180ae256193d6ab58d964da0a15b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Last calculated value of Link Delay.  <a href="#ac88180ae256193d6ab58d964da0a15b8">More...</a><br/></td></tr>
<tr class="separator:ac88180ae256193d6ab58d964da0a15b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecd30621bf3e8988ea4bebf59ab4d031"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#aecd30621bf3e8988ea4bebf59ab4d031">NewSlaveTime</a></td></tr>
<tr class="memdesc:aecd30621bf3e8988ea4bebf59ab4d031"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC ns at slave for last rx'd sync.  <a href="#aecd30621bf3e8988ea4bebf59ab4d031">More...</a><br/></td></tr>
<tr class="separator:aecd30621bf3e8988ea4bebf59ab4d031"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05590438022ee2dff39492654cfe3285"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a05590438022ee2dff39492654cfe3285">NewMasterTime</a></td></tr>
<tr class="memdesc:a05590438022ee2dff39492654cfe3285"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC ns at master for last tx'd sync.  <a href="#a05590438022ee2dff39492654cfe3285">More...</a><br/></td></tr>
<tr class="separator:a05590438022ee2dff39492654cfe3285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f843941b210edca7edb0824ba342652"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a5f843941b210edca7edb0824ba342652">OldSlaveTime</a></td></tr>
<tr class="memdesc:a5f843941b210edca7edb0824ba342652"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stored RTC slave ns for past sync rx.  <a href="#a5f843941b210edca7edb0824ba342652">More...</a><br/></td></tr>
<tr class="separator:a5f843941b210edca7edb0824ba342652"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92f212eedbc5375293d822d97a56b11a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a92f212eedbc5375293d822d97a56b11a">OldMasterTime</a></td></tr>
<tr class="memdesc:a92f212eedbc5375293d822d97a56b11a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stored RTC master ns for past sync tx.  <a href="#a92f212eedbc5375293d822d97a56b11a">More...</a><br/></td></tr>
<tr class="separator:a92f212eedbc5375293d822d97a56b11a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a810daa5475d7da25976222f9c9728337"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_avb___ptp_struct.html#a810daa5475d7da25976222f9c9728337">NsOffsetForPDelayResp</a></td></tr>
<tr class="memdesc:a810daa5475d7da25976222f9c9728337"><td class="mdescLeft">&#160;</td><td class="mdescRight">RTC ns offset at PDelayResp tx time.  <a href="#a810daa5475d7da25976222f9c9728337">More...</a><br/></td></tr>
<tr class="separator:a810daa5475d7da25976222f9c9728337"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This typedef defines the format for a data structure which stores information relating to the 1588 based PTP timing calculations. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="ac88180ae256193d6ab58d964da0a15b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::LinkDelay</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Last calculated value of Link Delay. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a6d7814f965d4141992654954f1243679">XAvb_CalcDelay()</a>, <a class="el" href="xavb_8h.html#a5ee8dd26b932ff82daa0dc87fd6d38d8">XAvb_CalcRtcOffset()</a>, and <a class="el" href="xavb_8h.html#af24c248c31c6c45cdb8a46f82de175c5">XAvb_Reset()</a>.</p>

</div>
</div>
<a class="anchor" id="a9ccce78c48aeb38e81ccfe20f4fcbf14"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::MasterCorrectionField</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Correction Field from rx'd follow-up. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a5ee8dd26b932ff82daa0dc87fd6d38d8">XAvb_CalcRtcOffset()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#afb8650c4c94082dc746db9ec0259e1cb">XAvb_DecodeRxFollowUp()</a>.</p>

</div>
</div>
<a class="anchor" id="a0fec4235a69761ed87eb29790cd8a7d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::Nanosec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ns value for sync frame tx request </p>

<p>Referenced by <a class="el" href="xavb__ptp__packets_8c.html#a989d44c98695fd6f286858f8b7976e3f">XAvb_MasterSendFollowUp()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#ae239544f086bc86572b8e2d7e408a028">XAvb_MasterSendSync()</a>.</p>

</div>
</div>
<a class="anchor" id="a05590438022ee2dff39492654cfe3285"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::NewMasterTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RTC ns at master for last tx'd sync. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a5ee8dd26b932ff82daa0dc87fd6d38d8">XAvb_CalcRtcOffset()</a>, <a class="el" href="xavb__ptp__packets_8c.html#afb8650c4c94082dc746db9ec0259e1cb">XAvb_DecodeRxFollowUp()</a>, and <a class="el" href="xavb_8h.html#ada9dd75eb576b0e600686514fbea45e3">XAvb_UpdateRtcIncrement()</a>.</p>

</div>
</div>
<a class="anchor" id="aecd30621bf3e8988ea4bebf59ab4d031"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::NewSlaveTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RTC ns at slave for last rx'd sync. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a5ee8dd26b932ff82daa0dc87fd6d38d8">XAvb_CalcRtcOffset()</a>, <a class="el" href="xavb__ptp__packets_8c.html#afb8650c4c94082dc746db9ec0259e1cb">XAvb_DecodeRxFollowUp()</a>, and <a class="el" href="xavb_8h.html#ada9dd75eb576b0e600686514fbea45e3">XAvb_UpdateRtcIncrement()</a>.</p>

</div>
</div>
<a class="anchor" id="a810daa5475d7da25976222f9c9728337"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::NsOffsetForPDelayResp</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>RTC ns offset at PDelayResp tx time. </p>

<p>Referenced by <a class="el" href="xavb__ptp__packets_8c.html#a63281acd385453959b333154bca2d9c7">XAvb_SendPDelayResp()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#a2c1081cde03d0c53bc508927111fe87c">XAvb_SendPDelayRespFollowUp()</a>.</p>

</div>
</div>
<a class="anchor" id="a92f212eedbc5375293d822d97a56b11a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::OldMasterTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stored RTC master ns for past sync tx. </p>

<p>Referenced by <a class="el" href="xavb__ptp__packets_8c.html#afb8650c4c94082dc746db9ec0259e1cb">XAvb_DecodeRxFollowUp()</a>, and <a class="el" href="xavb_8h.html#ada9dd75eb576b0e600686514fbea45e3">XAvb_UpdateRtcIncrement()</a>.</p>

</div>
</div>
<a class="anchor" id="a5f843941b210edca7edb0824ba342652"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::OldSlaveTime</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stored RTC slave ns for past sync rx. </p>

<p>Referenced by <a class="el" href="xavb__ptp__packets_8c.html#afb8650c4c94082dc746db9ec0259e1cb">XAvb_DecodeRxFollowUp()</a>, and <a class="el" href="xavb_8h.html#ada9dd75eb576b0e600686514fbea45e3">XAvb_UpdateRtcIncrement()</a>.</p>

</div>
</div>
<a class="anchor" id="a3452c4beb43254ece9773c99e03e629f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::PDelayTimestampT1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>T1 :PDelayReq Frame transmission. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a6d7814f965d4141992654954f1243679">XAvb_CalcDelay()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#a2e3f462007beb73497bbded566d7f364">XAvb_SendPDelayReq()</a>.</p>

</div>
</div>
<a class="anchor" id="a031c19b7b7227814202cc7472fc0269a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::PDelayTimestampT2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>T2 :PDelayReq rx'd at link partner. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a6d7814f965d4141992654954f1243679">XAvb_CalcDelay()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#acc5beb09f67f655b7eb8eb51b3cd2d8a">XAvb_DecodeRxPDelayResp()</a>.</p>

</div>
</div>
<a class="anchor" id="a3cbb26037696645f50c29addc3f6da46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::PDelayTimestampT3</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>T3 :PDelayResp Frame reception. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a6d7814f965d4141992654954f1243679">XAvb_CalcDelay()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#afd53beaf90143fc360dc6276ba1c49f9">XAvb_DecodeRxPDelayRespFollowUp()</a>.</p>

</div>
</div>
<a class="anchor" id="ad4a5d5d897b354ab5bae245a08459c27"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::PDelayTimestampT4</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>T4 :PDelayResp tx'd by link partner. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a6d7814f965d4141992654954f1243679">XAvb_CalcDelay()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#acc5beb09f67f655b7eb8eb51b3cd2d8a">XAvb_DecodeRxPDelayResp()</a>.</p>

</div>
</div>
<a class="anchor" id="ad6c2a017ae8f7df3d77654ffbb8a9955"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XAvb_PtpStruct::SlaveSyncTimestamp</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The timestamp taken of a rx'd sync. </p>

<p>Referenced by <a class="el" href="xavb_8h.html#a5ee8dd26b932ff82daa0dc87fd6d38d8">XAvb_CalcRtcOffset()</a>, and <a class="el" href="xavb__ptp__packets_8c.html#a3ed6d94f92c94a88dce9444e8a27fe8a">XAvb_DecodeRxSync()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
